Repository navigation
ci(registry): publish the MCP registry listing on its own when it changes (APP-14167) - #70
Merged
Merged
Conversation
…nges (WORK-14167) The registry publish ran only by hand, and nobody ran it from July to November 4. It now runs after a master push that changes server.json and every three hours as a catch-up. It publishes only a new listing version that mcp.dealmachine.com already serves, skips versions the registry already has, waits while the MCP server release is behind, and fails without publishing when the two copies disagree. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…er versions (WORK-14167) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…older (WORK-14167) Node keeps the typed script path in process.argv but gives import.meta.url the real path, so a workspace reached through a symlink skipped every command and exited 0. Compare real paths instead. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Ticket: APP-14167. Dave Oster asked for this in their Alma chat.
Why
The official MCP Registry only updated when someone ran Publish MCP registry metadata by hand. Nobody ran it from July until November 4, 2026, so the registry showed an old description for months. The listing also lives in two places,
server.jsonhere and the copy mcp.dealmachine.com serves, and those have drifted before.What changes
masterpush that changesserver.json(or the workflow or its script), and every three hours as a catch-up. The manual button stays for retries. It keeps thePRODUCTION_DEPLOY_ENABLEDgate that npm publication uses, andmasteronly moves through an approved release.scripts/mcp-registry-sync.mjs plancomparesserver.jsonwith the live server's/.well-known/mcp.jsonand with the versions the registry already has:verifywaits until the registry lists it as latest;server.jsonahead of the live server: pass with a note, and a later scheduled run publishes once the MCP release lands;docs/releases.mdgets an MCP registry listing section, and the README links to it.Decisions
Proof
tests/mcpRegistrySync.test.ts: eleven cases: each decision, both directions of a reworded published version, key order, a lower version, the copy shipped today, and starting the script through a linked folder (that last one failed before the fix: the script exited successfully without doing anything).npm run check: 129 tests pass, and the artifact check passes.planagainst the real registry and mcp.dealmachine.com answers "already lists version 0.3.1, nothing to publish".verifyconfirms 0.3.1 is the latest. Nothing was published.masterpush of this change runs the check, which should skip.🤖 Generated with Claude Code